import React from 'react'
import { Outlet, NavLink } from 'react-router-dom'
import './School.css'
const School = () => {
  return (
    <div className="School">
      <div className="nav_left">
        <ul>
          <li>
            <NavLink
              className={({ isActive }) => (isActive ? 'active' : '')}
              to="/school/list">
              学校概况
            </NavLink>
          </li>
        </ul>
      </div>
      <div className="nav_right">
        <Outlet></Outlet>
      </div>
    </div>
  )
}

export default School
